golang.org/x/net/http2.serverConn.countError (method)

32 uses

	golang.org/x/net/http2 (current package)
		server.go#L1576: 			return sc.countError("first_settings", ConnectionError(ErrCodeProtocol))
		server.go#L1589: 				return sc.countError("data_flow", streamError(f.Header().StreamID, ErrCodeFlowControl))
		server.go#L1616: 		return sc.countError("push_promise", ConnectionError(ErrCodeProtocol))
		server.go#L1641: 		return sc.countError("ping_on_stream", ConnectionError(ErrCodeProtocol))
		server.go#L1657: 			return sc.countError("stream_idle", ConnectionError(ErrCodeProtocol))
		server.go#L1668: 			return sc.countError("bad_flow", streamError(f.StreamID, ErrCodeFlowControl))
		server.go#L1689: 		return sc.countError("reset_idle_stream", ConnectionError(ErrCodeProtocol))
		server.go#L1753: 			return sc.countError("ack_mystery", ConnectionError(ErrCodeProtocol))
		server.go#L1761: 		return sc.countError("settings_big_or_dups", ConnectionError(ErrCodeProtocol))
		server.go#L1830: 			return sc.countError("setting_win_size", ConnectionError(ErrCodeFlowControl))
		server.go#L1853: 		return sc.countError("data_on_idle", ConnectionError(ErrCodeProtocol))
		server.go#L1870: 			return sc.countError("data_flow", streamError(id, ErrCodeFlowControl))
		server.go#L1878: 		return sc.countError("closed", streamError(id, ErrCodeStreamClosed))
		server.go#L1887: 			return sc.countError("data_flow", streamError(id, ErrCodeFlowControl))
		server.go#L1895: 		return sc.countError("send_too_much", streamError(id, ErrCodeProtocol))
		server.go#L1900: 			return sc.countError("flow_on_data_length", streamError(id, ErrCodeFlowControl))
		server.go#L2008: 		return sc.countError("headers_even", ConnectionError(ErrCodeProtocol))
		server.go#L2025: 			return sc.countError("headers_half_closed", streamError(id, ErrCodeStreamClosed))
		server.go#L2036: 		return sc.countError("stream_went_down", ConnectionError(ErrCodeProtocol))
		server.go#L2053: 			return sc.countError("over_max_streams", streamError(id, ErrCodeProtocol))
		server.go#L2060: 		return sc.countError("over_max_streams_race", streamError(id, ErrCodeRefusedStream))
		server.go#L2138: 		return sc.countError("dup_trailers", ConnectionError(ErrCodeProtocol))
		server.go#L2142: 		return sc.countError("trailers_not_ended", streamError(st.id, ErrCodeProtocol))
		server.go#L2146: 		return sc.countError("trailers_pseudo", streamError(st.id, ErrCodeProtocol))
		server.go#L2155: 				return sc.countError("trailers_bogus", streamError(st.id, ErrCodeProtocol))
		server.go#L2170: 		return sc.countError("priority", streamError(streamID, ErrCodeProtocol))
		server.go#L2232: 		return nil, nil, sc.countError("bad_connect", streamError(f.StreamID, ErrCodeProtocol))
		server.go#L2238: 			return nil, nil, sc.countError("bad_connect", streamError(f.StreamID, ErrCodeProtocol))
		server.go#L2251: 		return nil, nil, sc.countError("bad_path_method", streamError(f.StreamID, ErrCodeProtocol))
		server.go#L2298: 		return nil, nil, sc.countError(res.InvalidReason, streamError(st.id, ErrCodeProtocol))
		server.go#L2354: 		return sc.countError("too_many_early_resets", ConnectionError(ErrCodeEnhanceYourCalm))
		server.go#L3306: func (sc *serverConn) countError(name string, err error) error {